package com.dm0858.bianmin.mine.network;



import com.dm0858.bianmin.mine.tools.LogUtils;
import com.dm0858.bianmin.mine.tools.ToastUtils;
import com.dm0858.bianmin.model.response.SendPhoneCodeResponse;

import java.util.HashMap;
import java.util.Map;

import io.reactivex.Observable;
import io.reactivex.Observer;
import io.reactivex.android.schedulers.AndroidSchedulers;
import io.reactivex.disposables.Disposable;
import io.reactivex.schedulers.Schedulers;
import okhttp3.RequestBody;
import okhttp3.ResponseBody;
import retrofit2.http.Body;
import retrofit2.http.Field;
import retrofit2.http.FormUrlEncoded;
import retrofit2.http.GET;
import retrofit2.http.POST;
import retrofit2.http.Query;
import retrofit2.http.QueryMap;
import retrofit2.http.Url;

import static com.dm0858.bianmin.api.ApiService.SEND_PHONE_CODE;

public interface RetrofitService {

    @POST
    Observable<ResponseBody> post(@Url String url, @Body RequestBody requestBody);

    @GET
    Observable<ResponseBody> get(@Url String url);

}
